package com.flyduck.mall.pms.api;

import com.flyduck.mall.pms.api.vo.RemoteProductRespVO;
import com.flyduck.mall.pms.api.vo.RemoteProductUpdateReqVO;
import com.flyduck.ss.common.core.domain.R;
;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * <p>
 * RemoteSkuStockFeignClient
 * </p>
 *
 * @author flyduck
 * @since 2024-07-15
 */
public interface RemoteProductService {

    RemoteProductRespVO getProductById(@PathVariable("id") Long id);

    List<RemoteProductRespVO> getOnSaleProductList();

    void batchUpdateProduct(@RequestBody List<RemoteProductUpdateReqVO> remoteProductUpdateReqVOList);
}
